import http from './index.js';

// 获取用户信息
export const info = () => {
    return http.get(`/user/info`);
};

export const update = (data) => {
    return http.put(`/user/update`, data);
};
// @RequestParam Integer id
export const deleteUser = (id) => {
    return http.delete(`/user/delete/${id}`);
};

